package com.mall.security.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author WanMing
 * @date 2021/3/15 22:44
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/addUser")
    public String testAddUser(){
        return "添加用户成功";
    }

    @GetMapping("/queryUser")
    public String queryUser(){
        return "查询用户成功";
    }


}
